You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The build-system requires entry does not specify version bounds for hatchling and uv-dynamic-versioning. Consider adding version constraints to ensure reproducible builds.
The initial-content multi-line string under tool.uv-dynamic-versioning.files."codeflash/version.py" has leading spaces that may be injected verbatim. Verify that the indentation matches the intended content of version.py.
initial-content = """ # These version placeholders will be replaced by uv-dynamic-versioning during build. __version__ = "0.0.0"
The leading spaces inside the triple-quoted initial-content will be written verbatim, causing unintended indentation. Remove the extra indentation to produce clean placeholders.
initial-content = """
- # These version placeholders will be replaced by uv-dynamic-versioning during build.- __version__ = "0.0.0"- __version_tuple__ = (0, 0, 0)+# These version placeholders will be replaced by uv-dynamic-versioning during build.+__version__ = "0.0.0"+__version_tuple__ = (0, 0, 0)
"""
Suggestion importance[1-10]: 9
__
Why: Removing extra spaces prevents invalid indentation in codeflash/version.py, which could otherwise cause a syntax error.
High
Pin build backend versions
Pin minimal versions for the build backend requirements to ensure reproducible builds and avoid breaking changes. Add version constraints to both hatchling and uv-dynamic-versioning.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Type
Enhancement
Description
Migrate build backend from Poetry to Hatchling
Enable uv-dynamic-versioning for dynamic versions
Restructure pyproject.toml to PEP 621 format
Update version placeholder comment in version.py
Changes walkthrough 📝
version.py
Update dynamic versioning commentcodeflash/version.py
pyproject.toml
Migrate pyproject.toml to Hatch and uv-dynamic-versioningpyproject.toml